import request from '@/utils/request'

// 充值
export function recharge(data) {
    console.log('获取的充值数据是',data)
    return request({
      url: '/account/recharge',
      method: 'post',
      data:data 
    })
  }

// 提现
export function extract(data) {
  console.log('获取的提现数据是',data)
  return request({
    url: '/account/extract',
    method: 'post',
    data:data 
  })
}